#pragma once
#include "ServerProxy.h"

#ifndef _GAME_SERVER_PROXY_H_
#define _GAME_SERVER_PROXY_H_

class CGameProxy	: public CServerProxy
{
public:
	CGameProxy(void);
	~CGameProxy(void);

protected:
	virtual xgc_void RegisteMessage();
	virtual xgc_lpvoid OnConnect( net::network_t h, xgc_lpvoid p );
	virtual xgc_void OnClose( xgc_lpvoid userdata );

	virtual net::PacketProtocal GetPacketProtocal(){ return ProtocalCustom; }
private:
	net::network_t mLink;
};

#endif // _GAME_SERVER_PROXY_H_